HQRentalsPlugin\HQRentalsSettings\HQRentalsSettings D

Total Complexity 150
Dependencies 6
Dependents 38
Total lines 812
Lines of code 463
Logical lines of code 185
Comment lines 78
Methods 121
Properties 41

Methods 121

Method Rating Maintainability Complexity Lines of code
updateSettings()
B
42 17 52
resolveSettingsOnAuth()
S
56 6 18
thereAreSomeSettingMissing()
S
70 4 6
getApiUserToken()
S
67 2 8
getApiTenantToken()
S
67 2 8
saveApiUserToken()
S
68 2 7
saveApiTenantToken()
S
68 2 7
forceSyncOnHQData()
S
65 2 9
__construct()
S
80 1 3
getApiEncodedToken()
S
80 1 3
getHQDatetimeFormat()
S
80 1 3
getFrontEndDatetimeFormat()
S
80 1 3
getSupportForHomeIntegration()
S
79 1 3
getDisableCronjobOption()
S
79 1 3
getTenantDatetimeFormat()
S
79 1 3
getDisableSafari()
S
79 1 3
getDisableSafariValue()
S
80 1 3
getApiBaseUrl()
S
79 1 3
saveApiBaseUrl()
S
79 1 3
saveHQDatetimeFormat()
S
79 1 3
saveFrontEndDateTimeFormat()
S
79 1 3
saveEncodedApiKey()
S
77 1 3
saveNewAuthScheme()
S
79 1 3
saveHomeIntegration()
S
79 1 3
saveDisableCronjobOption()
S
79 1 3
saveTenantDatetimeOption()
S
79 1 3
saveTenantLink()
S
79 1 3
getTenantLink()
S
79 1 3
saveDisableSafariOption()
S
79 1 3
noLocationCoordinateSetting()
S
80 1 3
saveLocationCoordinateSetting()
S
79 1 3
getLocationCoordinateField()
S
79 1 3
noLocationImageSetting()
S
80 1 3
saveLocationImageSetting()
S
79 1 3
getLocationImageField()
S
79 1 3
noLocationDescriptionSetting()
S
80 1 3
saveLocationDescriptionSetting()
S
79 1 3
getLocationDescriptionField()
S
79 1 3
noAddressLabelSetting()
S
80 1 3
saveAddressLabelSetting()
S
79 1 3
getAddressLabelField()
S
79 1 3
noOfficeHoursSetting()
S
80 1 3
saveOfficeHoursSetting()
S
79 1 3
getOfficeHoursSetting()
S
79 1 3
noBrandsSetting()
S
80 1 3
saveBrandsSetting()
S
79 1 3
getBrandsSetting()
S
79 1 3
noPhoneSetting()
S
80 1 3
savePhoneSetting()
S
79 1 3
getPhoneSetting()
S
79 1 3
noAddressSetting()
S
80 1 3
saveAddressSetting()
S
79 1 3
getAddressSetting()
S
79 1 3
noDecreasingRateOrder()
S
80 1 3
saveDecreasingRateOrder()
S
79 1 3
getDecreasingRateOrder()
S
79 1 3
isDecreasingRateOrderActive()
S
80 1 3
getEnableCustomPostsPages()
S
79 1 3
setEnableCustomPostsPages()
S
79 1 3
isEnableCustomPostsPages()
S
80 1 3
noReplaceBaseURLOnBrandsSetting()
S
80 1 3
saveReplaceBaseURLOnBrandsSetting()
S
79 1 3
getReplaceBaseURLOnBrandsSetting()
S
79 1 3
noBrandURLToReplaceSetting()
S
80 1 3
saveBrandURLToReplaceSetting()
S
79 1 3
getBrandURLToReplaceSetting()
S
79 1 3
noDefaultLatitudeSetting()
S
80 1 3
getDefaultLatitudeSetting()
S
79 1 3
setDefaultLatitudeSetting()
S
79 1 3
noDefaultLongitudeSetting()
S
80 1 3
getDefaultLongitudeSetting()
S
79 1 3
setDefaultLongitudeSetting()
S
79 1 3
getSettings()
S
64 1 10
noNewAuthSchemeOption()
S
80 1 3
noDisableSafariFunctionality()
S
80 1 3
newAuthSchemeEnabled()
S
79 1 3
noTenantDatetimeFormat()
S
80 1 3
noHomeIntegrationOption()
S
80 1 3
noDisabledCronjobOption()
S
80 1 3
homeIntegration()
S
79 1 3
isApiOkay()
S
73 1 5
updateEmail()
S
80 1 3
getEmail()
S
79 1 3
noEnableCustomPostsPages()
S
80 1 3
noCurrencyIconOption()
S
80 1 3
setCurrencyIconOption()
S
79 1 3
getCurrencyIconOption()
S
79 1 3
noGoogleAPIKey()
S
80 1 3
setGoogleAPIKey()
S
78 1 3
getGoogleAPIKey()
S
80 1 3
setCaptchaKey()
S
78 1 3
getCaptchaKey()
S
80 1 3
setCaptchaSecret()
S
78 1 3
getCaptchaSecret()
S
80 1 3
noGoogleCountry()
S
80 1 3
setGoogleCountry()
S
79 1 3
getGoogleCountry()
S
79 1 3
noDefaultPickupTime()
S
80 1 3
setDefaultPickupTime()
S
79 1 3
getDefaultPickupTime()
S
80 1 3
noDefaultReturnTime()
S
80 1 3
setDefaultReturnTime()
S
79 1 3
getDefaultReturnTime()
S
80 1 3
noOverrideDailyRateWithCheapestPriceInterval()
S
80 1 3
setOverrideDailyRateWithCheapestPriceInterval()
S
79 1 3
getOverrideDailyRateWithCheapestPriceInterval()
S
80 1 3
noWebhookSyncOption()
S
80 1 3
setWebhookSyncOption()
S
79 1 3
getWebhookSyncOption()
S
80 1 3
noLastSyncOption()
S
80 1 3
setLastSyncOption()
S
78 1 3
getLastSyncOption()
S
80 1 3
noVehicleClassTypeField()
S
80 1 3
getVehicleClassTypeField()
S
79 1 3
setVehicleClassTypeField()
S
79 1 3
getMetricSystem()
S
79 1 3
saveMetricSystem()
S
79 1 3
getVehicleClassBannerImageField()
S
79 1 3
setVehicleClassBannerImageField()
S
79 1 3
getPublicReservationWorkflowURL()
S
79 1 3
setPublicReservationWorkflowURL()
S
79 1 3